package com.itheima.service.impl;

import com.itheima.dao.BrandDao;
import com.itheima.domain.Brand;
import com.itheima.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    private BrandDao brandDao;

    public List<Brand> findAll() {
        return brandDao.findAll();
    }
}
